Dynomotion

Group: DynoMotion Message: 7820 From: darrengladysz Date: 6/29/2013
Subject: Reversing axis direction in kmotion and limit switches
Hi Tom,

I wanted to know how to reverse an axis direction in kmotioncnc so that when I go right it counts down while now it counts up. I tried inverting the signs on both the input and output channels but this does not work and could not find out how to do this.

Secondly, I am having problems with my limit switches. I am using the general purpose inputs on kanalog (bits 128-135) which have hall sensor limit switches and a negative logic (it goes low when the switch is triggered).

Do I need to include anything in my init file such as setbit etc. as I cannot get the machine to work when I configure limit switches. The axis is simply disabled or will not move. If I set the limits to 0x0 then everything works. Also, do I need to worry about setting anything if using limits with master/slave axis.

Thanks
Group: DynoMotion Message: 7821 From: darrengladysz Date: 6/29/2013
Subject: Re: Reversing axis direction in kmotion and limit switches
Hi Tom,

I also wanted to mention that I can see when the switches are triggered in the digital I/O screen.
Group: DynoMotion Message: 7822 From: daveymahomh600e Date: 6/29/2013
Subject: Re: Reversing axis direction in kmotion and limit switches
I'm not sure about your limit switches, but you can try adding a minus sign to the counts/inch number on the KMotionCNC trajectory planner screen to reverse the axis.

Not sure exactly what you are trying to do, but hope this helps.

David

--- In DynoMotion@yahoogroups.com, "darrengladysz" <darrengladysz@...> wrote:
>
> Hi Tom,
>
> I wanted to know how to reverse an axis direction in kmotioncnc so that when I go right it counts down while now it counts up. I tried inverting the signs on both the input and output channels but this does not work and could not find out how to do this.
>
> Secondly, I am having problems with my limit switches. I am using the general purpose inputs on kanalog (bits 128-135) which have hall sensor limit switches and a negative logic (it goes low when the switch is triggered).
>
> Do I need to include anything in my init file such as setbit etc. as I cannot get the machine to work when I configure limit switches. The axis is simply disabled or will not move. If I set the limits to 0x0 then everything works. Also, do I need to worry about setting anything if using limits with master/slave axis.
>
> Thanks
>
Group: DynoMotion Message: 7824 From: darrengladysz Date: 6/29/2013
Subject: Re: Reversing axis direction in kmotion and limit switches
Thank you8, I will try this.

To clarify all I want to do is reverse my axis direction to have the y 0 position on the right instead of the left of my machine. This way it is easier to visualize when doing cad.

Regards,

--- In DynoMotion@yahoogroups.com, "daveymahomh600e" <david.m.stevenson@...> wrote:
>
> I'm not sure about your limit switches, but you can try adding a minus sign to the counts/inch number on the KMotionCNC trajectory planner screen to reverse the axis.
>
> Not sure exactly what you are trying to do, but hope this helps.
>
> David
>
> --- In DynoMotion@yahoogroups.com, "darrengladysz" <darrengladysz@> wrote:
> >
> > Hi Tom,
> >
> > I wanted to know how to reverse an axis direction in kmotioncnc so that when I go right it counts down while now it counts up. I tried inverting the signs on both the input and output channels but this does not work and could not find out how to do this.
> >
> > Secondly, I am having problems with my limit switches. I am using the general purpose inputs on kanalog (bits 128-135) which have hall sensor limit switches and a negative logic (it goes low when the switch is triggered).
> >
> > Do I need to include anything in my init file such as setbit etc. as I cannot get the machine to work when I configure limit switches. The axis is simply disabled or will not move. If I set the limits to 0x0 then everything works. Also, do I need to worry about setting anything if using limits with master/slave axis.
> >
> > Thanks
> >
>
Group: DynoMotion Message: 7828 From: Tom Kerekes Date: 6/30/2013
Subject: Re: Reversing axis direction in kmotion and limit switches
Hi Darren,

Not sure what you mean by "tried inverting the signs on both the input and output channels".  Inverting the InputGain0 and OutputGain should reverse the axis.

Regarding Limit Switches it sounds like you need to reverse the polarity setting for the limits.  Change the "Stop when low" setting to the opposite state you currently have it to see if that helps.

When the Axes are Slaved then a Limit Fault on either axis should disabled both the Master and the Slave.  So you shouldn't normally need to do anything.

Regards
TK